package com.voltmao.persistent.mapper;

import org.apache.ibatis.annotations.Param;
import com.voltmao.persistent.model.AdminMenu;
import com.voltmao.persistent.model.AdminMenuCriteria;

import java.util.List;
import java.util.Map;

public interface AdminMenuMapper {
    int countByExample(AdminMenuCriteria example);

    int deleteByExample(AdminMenuCriteria example);

    int deleteByPrimaryKey(String dataId);

    int insert(AdminMenu record);

    int insertSelective(AdminMenu record);

    List<AdminMenu> selectByExample(AdminMenuCriteria example);

    AdminMenu selectByPrimaryKey(String dataId);

    int updateByExampleSelective(@Param("record") AdminMenu record, @Param("example") AdminMenuCriteria example);

    int updateByExample(@Param("record") AdminMenu record, @Param("example") AdminMenuCriteria example);

    int updateByPrimaryKeySelective(AdminMenu record);

    int updateByPrimaryKey(AdminMenu record);

    AdminMenu selectByExampleForOne(AdminMenuCriteria example);

    Map<String, Object> selectMapByPrimaryKey(String dataId);

    Map<String, Object> selectMapByExampleForOne(AdminMenuCriteria example);

    List<Map<String, Object>> selectMapByExample(AdminMenuCriteria example);

    List<AdminMenu> selectMenusForSysUserId(String sysUserId);
}